package exercises.Charpter10;

import exercises.Charpter10.Test.MyTest;

interface Test{
	void func();
	class MyTest implements Test{

		@Override
		public void func() {
			System.out.println("Test.func");
		}
		
		public static void display(Test myTest){
			myTest.func();
		}
	}
}

public class Twentyone {
	public static void main(String[] args){
		MyTest me = new MyTest();
		MyTest.display(me);
	}
}
